package com.drivers.news.mapper;


import com.drivers.model.OrderInformation.OrderInformation;
import com.drivers.model.OrderInformation.Vo.Vo;
import com.drivers.model.chatMessage.ChatMessage;
import com.drivers.model.driverAttribute.DriverAttribute;
import com.drivers.model.ordercomplaint.OrderComplaint;
import com.drivers.model.userPersonal.UserPersonal;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OrderInfoMapper {
    Integer showOrderStatus();

    Integer showOrderStatusOver();

    List<OrderInformation> showAll();

    List<OrderInformation> showAllAppeal();

    Vo showAppealById(String orderId);

    Integer addFeedback(OrderComplaint orderComplaint);

    DriverAttribute findSelectDrivers(Integer id);

    List<ChatMessage> selectMessages(@Param("ch") ChatMessage chatMessage);

    UserPersonal findPassengers(Integer id);

    List<OrderInformation> showHeatMap();

}
